package com.jky.trial.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jky.trial.common.QueryParam;
import com.jky.trial.vo.CategoryVo;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class User extends QueryParam implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer id;
    private String userName;
    private String email;//邮箱
    private String techRegId;//技术员极光注册ID
    private String descRegId;//描述员极光注册ID
    private String name;
    private Integer comId;
    private Integer depId;
    private Integer busId;
    private String phone;
    private String profile;
    private String password;
    private Boolean gender;
    private Integer order;
    private Integer type;
    private Integer status;
    private Boolean deleted;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateAt;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createAt;
    private List<CategoryVo> roles;//角色
}